package lero.service;

import lero.pojo.Admin;
import lero.vo.AdminVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018/7/4.
 */
public interface AdminServiceI {


    void insert(Admin admin);

    List<Admin> select(AdminVo vo);

    Admin selectOne(int id);

    void  delete(int id);

    void  deleteMany(int[] ids);

    void  changeStatus(@Param("id") int id, @Param("status") String status);

    void  update(Admin admin);

    Admin login(Admin admin);
}
